package com.lbtc.service;


import com.lbtc.exception.LbtcMallException;
import com.lbtc.vo.CartVO;

import java.util.List;

public interface CartService {
    List<CartVO> add(Integer userId, Integer productId, Integer count) throws LbtcMallException;

    List<CartVO> list(Integer userId);

    List<CartVO> update(Integer userId, Integer productId, Integer count) throws LbtcMallException;

    List<CartVO> delete(Integer userId, Integer productId) throws LbtcMallException;

    List<CartVO> selectOrNot(Integer userId, Integer productId, Integer selected) throws LbtcMallException;

    List<CartVO> selectAllOrNot(Integer userId, Integer selected);
}
